﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="index.aspx.cs" Inherits="WebSite.admin.index" %>

<%@ Register assembly="ExtAspNet" namespace="ExtAspNet" tagprefix="ext" %>

<%@ Register src="head.ascx" tagname="head" tagprefix="uc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
       <link href="css/skin.css" rel="stylesheet" type="text/css" />
        <script src="js/common.js" type="text/javascript"></script>
</head>
<body >
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" AutoSizePanelID="RegionPanel1" runat="server">
    </ext:PageManager>
    <ext:RegionPanel ID="RegionPanel1" ShowBorder="false" runat="server">
        <Regions>
            <ext:Region ID="Region1" Margins="0 0 0 0" Height="62px" Width="100%" ShowBorder="false" ShowHeader="false"
                Position="Top" Layout="Fit" runat="server">
  
                <Items>
                    <ext:ContentPanel ShowBorder="false" ShowHeader="false" BodyStyle="background-color:#103C5A; background-image:url('images/top-login.jpg');background-repeat:no-repeat; "
                        ID="cpnHead" runat="server">
                        <div style="float:right;">
                        <div style="float:right; width:300px;  ">
                        </div>
                        <div  style="float:right;  margin-right:20px; color:#fff; margin-right:20px; ">
                        
                         <%=Session["Adminlogin"].ToString()%>用户，欢迎您   
                            <a style="margin-left:80px; cursor:hand;color:#fff;" href="../default.aspx" target="_blank" >前台首页</a> 
                          | <a  href="" onclick="location.reload()" style=" cursor:hand;color:#fff;" >刷新页面</a>
                          | <a href="#"  style=" cursor:hand;color:#fff;" onclick="X('Window2').box_show('/admin/system/updatePassword.aspx', '修改密码-<%= Session["Adminlogin"].ToString()%>');" title="修改密码">修改密码</a>
                          | <a href="/admin/login.aspx"   style=" cursor:hand;color:#fff;">退出系统</a>    
                        </div>
                        </div>
                    </ext:ContentPanel>
                </Items>
            </ext:Region>
            <ext:Region ID="Region2" Split="true" EnableSplitTip="true" CollapseMode="Mini" Width="180px"
                Margins="0 0 0 0" ShowHeader="true" Title="管理菜单" EnableLargeHeader="false" Icon="Outline"
                EnableCollapse="true" Layout="Fit" Position="Left" runat="server">
                <Items>
                    <ext:Tree runat="server" EnableArrows="true"    
                     ShowBorder="false" ShowHeader="false" 
                        EnableIcons="false" AutoScroll="true" ID="treeMenu">
                    </ext:Tree>
                </Items>
            </ext:Region>
                  <ext:Region ID="mainRegion" IFrameName="mainBody" ShowHeader="false" Layout="Fit" Margins="0 0 0 0" Position="Center"  EnableIFrame="true" 
                runat="server">
                <Items>
                    <ext:TabStrip ID="mainTabStrip" EnableTabCloseMenu="true" ShowBorder="false" runat="server">
                      
                    </ext:TabStrip>
                </Items>
            </ext:Region>
        </Regions>
    </ext:RegionPanel>
    

    <script type="text/javascript">

        var IDS = {

            treeMenu: '<%= treeMenu.ClientID %>',
            mainTabStrip: '<%= mainTabStrip.ClientID %>'
        };
 
    </script>
    <script src="js/default.js" type="text/javascript"></script>

    
        <ext:Window ID="Window2" IconUrl="~/admin/images/16/11.png" runat="server" Popup="false"
        IsModal="true" Target="Parent"  Title="Popup Window 2"
        EnableConfirmOnClose="true" CloseAction="Hide" EnableIFrame="true" IFrameUrl="about:blank"
        Height="160px" Width="400px" onclose="Window2_Close">
    </ext:Window>
    </form>

    </body>
</html>

